projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eab4de
)
headerbar: Prepend start window controls instead of appending
author
Alexander Mikhaylenko
<alexm@gnome.org>
Wed, 6 Jan 2021 17:04:55 +0000
(22:04 +0500)
committer
Alexander Mikhaylenko
<alexm@gnome.org>
Wed, 6 Jan 2021 17:04:55 +0000
(22:04 +0500)
Make sure they are always in the correct position.
gtk/gtkheaderbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkheaderbar.c
b/gtk/gtkheaderbar.c
index 1cb9e8185a45d9f84bb435b3868dc33399e3c3a2..30423b9d48905e44dc19cdc4364b49867d91309e 100644
(file)
--- a/
gtk/gtkheaderbar.c
+++ b/
gtk/gtkheaderbar.c
@@
-167,7
+167,7
@@
create_window_controls (GtkHeaderBar *bar)
g_object_bind_property (controls, "empty",
controls, "visible",
G_BINDING_SYNC_CREATE | G_BINDING_INVERT_BOOLEAN);
- gtk_box_
ap
pend (GTK_BOX (bar->start_box), controls);
+ gtk_box_
pre
pend (GTK_BOX (bar->start_box), controls);
bar->start_window_controls = controls;
controls = gtk_window_controls_new (GTK_PACK_END);